package org.jeecg.modules.rental.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 车辆类型
 * @Author: sean
 * @Date:   2024-04-28
 * @Version: V1.0
 */
@Data
@TableName("rental_car_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rental_car_type对象", description="车辆类型")
public class RentalEBikeType implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**车辆类型编码*/
    @Excel(name = "车辆类型编码", width = 15)
    @ApiModelProperty(value = "车辆类型编码")
    private String carTypeCode;
    /**车辆类型名称*/
    @Excel(name = "车辆类型名称", width = 15)
    @ApiModelProperty(value = "车辆类型名称")
    private String carTypeName;
    @Excel(name = "车辆照片", width = 15)
    @ApiModelProperty(value = "车辆照片")
    private String carImage;
    @Excel(name = "车辆颜色", width = 15)
    @ApiModelProperty(value = "车辆颜色")
    private String color;
    /**车辆类型名称*/
    @Excel(name = "载核人数", width = 15)
    @ApiModelProperty(value = "载核人数")
    private Integer loadCapacity ;
    /**车辆类型名称*/
    @Excel(name = "最高车速", width = 15)
    @ApiModelProperty(value = "最高车速")
    private String maxSpeed;

    /**车辆类型名称*/
    @Excel(name = "续航里程", width = 15)
    @ApiModelProperty(value = "续航里程")
    private String maxRange;

    /**车辆类型名称*/
    @Excel(name = "电机功率", width = 15)
    @ApiModelProperty(value = "电机功率")
    private String motorPower;

    /**押金*/
    @Excel(name = "押金金额", width = 15)
    @ApiModelProperty(value = "押金金额")
    private BigDecimal depositAmount;

    /**押金*/
    @Excel(name = "保险金额", width = 15)
    @ApiModelProperty(value = "保险金额")
    private BigDecimal insureAmount;

    /**初始功耗*/
    @Excel(name = "初始功耗", width = 15)
    @ApiModelProperty(value = "初始功耗")
    private Float initialConsumption;

    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    @TableLogic(value="0", delval = "1")
    private Integer isDelete;

}
